import * as React from 'react';
export interface ConfigConsumerProps {
    getPrefixCls: (suffixCls?: string) => string;
}
const defaultGetPrefixCls = (suffixCls?: string) => {
    return suffixCls ? `ant-${suffixCls}` : 'ant';
  };
export const ConfigContext = React.createContext<ConfigConsumerProps>({
    getPrefixCls: defaultGetPrefixCls,
});

export const ConfigConsumer = ConfigContext.Consumer;
